package com.ly.heart.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ly.common.core.domain.BaseVo;
import lombok.Data;
import com.ly.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * 金蝶-财务-银行转账单明细对象 erp_king_finance_transfer_receipt_detail_info
 * @author wutao
 * @date 2024-06-20
 */
@TableName ("erp_king_finance_transfer_receipt_detail_info")
@ApiModel (value = "erp_king_finance_transfer_receipt_detail_info对象", description = "金蝶-财务-银行转账单明细")
@Data
public class KingFinanceTransferReceiptDetailEntity extends BaseVo {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId (value = "*", type = IdType.INPUT)
    private String id;

    /**
     * 银行转账单Id
     */
    @ApiModelProperty ("银行转账单Id")
    @TableField ("transfer_receipt_id")
    @Excel (name = "银行转账单Id")
    private String transferReceiptId;

    /**
     * 转入银行,dialog走接口
     */
    @ApiModelProperty ("转入银行编码")
    @TableField ("in_bank_code")
    @Excel (name = "转入银行,dialog走接口")
    private String inBankCode;

    /**
     * 转入银行账号
     */
    @ApiModelProperty ("转入银行账号")
    @TableField ("in_bank_no")
    @Excel (name = "转入银行账号")
    private String inBankNo;

    /**
     * 转出银行,dialog走接口
     */
    @ApiModelProperty ("转出银行编码")
    @TableField ("out_bank_code")
    @Excel (name = "转出银行,dialog走接口")
    private String outBankCode;

    /**
     * 转出银行账号
     */
    @ApiModelProperty ("转出银行账号")
    @TableField ("out_bank_no")
    @Excel (name = "转出银行账号")
    private String outBankNo;

    /**
     * 币别,select走字典
     */
    @ApiModelProperty ("币别,select走字典")
    @TableField ("king_base_currency_code")
    @Excel (name = "币别,select走字典")
    private String kingBaseCurrencyCode;

    /**
     * 转入金额,文本
     */
    @ApiModelProperty ("转入金额,文本")
    @TableField ("transfer_in_amount")
    @Excel (name = "转入金额,文本")
    private String transferInAmount;

    /**
     * 转出金额,文本
     */
    @ApiModelProperty ("转出金额,文本")
    @TableField ("transfer_out_amount")
    @Excel (name = "转出金额,文本")
    private String transferOutAmount;

    /**
     * 转入结算号,文本
     */
    @ApiModelProperty ("转入结算号,文本")
    @TableField ("settlement_in_number")
    @Excel (name = "转入结算号,文本")
    private String settlementInNumber;

    /**
     * 转出结算号,文本
     */
    @ApiModelProperty ("转出结算号,文本")
    @TableField ("settlement_out_number")
    @Excel (name = "转出结算号,文本")
    private String settlementOutNumber;

    /**
     * 摘要,文本
     */
    @ApiModelProperty ("摘要,文本")
    @TableField ("abstract_desc")
    @Excel (name = "摘要,文本")
    private String abstractDesc;

    /**
     * 付方手续费,文本
     */
    @ApiModelProperty ("付方手续费,文本")
    @TableField ("pay_fee")
    @Excel (name = "付方手续费,文本")
    private String payFee;

    /**
     * 收方手续费,文本
     */
    @ApiModelProperty ("收方手续费,文本")
    @TableField ("receipt_fee")
    @Excel (name = "收方手续费,文本")
    private String receiptFee;

    /**
     * 利率,文本
     */
    @ApiModelProperty ("利率,文本")
    @TableField ("rate")
    @Excel (name = "利率,文本")
    private String rate;

    /**
     * 入账类型,select走字典
     */
    @ApiModelProperty ("入账类型,1：并笔入账；0：逐笔入账")
    @TableField ("entry_type")
    @Excel (name = "入账类型,select走字典")
    private String entryType;

    @ApiModelProperty ("交易时间")
    @TableField ("trading_time")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date tradingTime;

    @ApiModelProperty ("创建人")
    @TableField ("create_by")
    private String createBy;

    @ApiModelProperty ("创建时间")
    @TableField ("create_time")
    private Date createTime;

    @ApiModelProperty ("更新人")
    @TableField ("update_by")
    private String updateBy;

    @ApiModelProperty ("更新时间")
    @TableField ("update_time")
    private Date updateTime;

    @TableField ("is_used")
    private Integer isUsed;

    /**
     * 转入银行账号
     */
    @ApiModelProperty ("转入银行名称")
    @TableField (exist = false)
    private String inBankName;

    @ApiModelProperty ("转出银行名称")
    @TableField (exist = false)
    private String outBankName;

    @ApiModelProperty ("币别")
    @TableField (exist = false)
    private String kingBaseCurrencyName;

}
